package com.atjava.nebula.core.service.impl;

import java.io.Serializable;

import com.atjava.nebula.core.model.BaseModel;
import com.atjava.nebula.core.exception.baseExp.BusinessException;

/**
 * 自定义新增操作时需要继承此类
 * @author kyo
 *
 * @param <T>
 * @param <ID>
 */
public abstract class CreateServiceImpl<T extends BaseModel,ID extends Serializable> extends GenericServiceImpl<T,ID>{
	/* 
	 * @see com.atjava.nebula.core.service.GenricService#create(com.atjava.nebula.core.model.BaseModel)
	 */
	@Override
	public abstract ID create(BaseModel o) throws BusinessException;
}
